]> dgit.raspbian.org Git - gnome-shell.git/commit
js/environment: Add GLib spawn async overrides warning when using child setup
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 30 Apr 2024 23:17:10 +0000 (01:17 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 24 May 2024 23:13:09 +0000 (01:13 +0200)
commit6ab1d1c2eca4557358cdbe9cb55e211f9ca7eb34
treebad18bb9f630176f7ea0239f73fa7c7df5f14b06
parente633b1d4f59723d11273eebb8cf2043ba2e44713
js/environment: Add GLib spawn async overrides warning when using child setup

Using child setup functions is unsafe in gjs code so let's warn if this
happens so that extensions using a similar codepath are warned.

This could be also part of gjs, but we provide a shell override since we
have alternatives to log about.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3293>
(cherry picked from commit 494be307649f20aaed53113f3c1ff740980a5992)
js/ui/environment.js